package com.imjohn.entity;

import lombok.Data;

import java.util.List;

/**
 * @author zhangwei
 * @date 2021-07-21 下午 3:32
 */
@Data
public class Aticle {
    private Integer id;
    private String aticleTitle;
    private String writeDate;

    private String aticleAuthor;

    private String aticleContent;
    private String aticleDesp;
    private List<Comment> comments;

    @Override
    public String toString () {
        return "Aticle{" +
                "id=" + id +
                ", aticleTitle='" + aticleTitle + '\'' +
                ", writeDate='" + writeDate + '\'' +
                ", aticleAuthor='" + aticleAuthor + '\'' +
                ", aticleContent='" + aticleContent + '\'' +
                ", aticleDesp='" + aticleDesp + '\'' +
                ", aticleType='" + aticleType + '\'' +
                ", viewNum=" + viewNum +
                ", goodNum=" + goodNum +
                ", commnetNum=" + commnetNum +
                '}';
    }

    private String aticleType;
    private int viewNum;
    private int goodNum;
    private int commnetNum;

}
